<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 	String basePath = request.getScheme() + "://" +
    request.getServerName() + ":" + request.getServerPort() +
    request.getContextPath() + "/"; 
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<base href="<%=basePath%>">
</head>
<body>
	<div align="center">
		<form action="student/addStudent.do" method="post">
		姓名：<input type="text" name="name"><br>
		年龄：<input type="text" name="age"><br>
		<input type="submit" value="提交参数"><br>
	</form>
	</div>
</body>
</html>